package com.fhz.mvvmtest.food2.repository;

import androidx.lifecycle.LiveData;

import com.fhz.mvvmtest.base.BaseRepository;
import com.fhz.mvvmtest.food.entity.Food;
import com.fhz.mvvmtest.food.model.FoodModel;
import com.fhz.mvvmtest.food2.model.FoodModel2;

/**
 * 时间:11/15/21
 *
 * @author msfeng
 * 简述: TODO
 */
public class FoodRepository2 extends BaseRepository<FoodModel2>{

    public FoodRepository2(FoodModel2 iModel) {
        super(iModel);
    }

    public LiveData<Food> getFood(){
       return iModel.getFood();
    }
}
